//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include "CPort.hpp"
#include "CPortCtl.hpp"
#include <ComCtrls.hpp>
//---------------------------------------------------------------------------
class TFormRemoteControl : public TForm
{
__published:	// IDE-managed Components
        TComPort *ComPort;
        TComLed *ComLed;
        TButton *ButtonOpenPort;
        TButton *ButtonSettings;
        TComboBox *ComboBoxScreenSize;
        TShape *ShapeResolution;
        TStaticText *StaticTextScrollBar;
        TStaticText *StaticTextCharacter;
        TStaticText *Character;
        TStaticText *StaticTextPixels;
        TScrollBar *ScrollBarAccelerometer;
        TLabel *LabelComboBox;
        void __fastcall ButtonSettingsClick(TObject *Sender);
        void __fastcall ButtonOpenPortClick(TObject *Sender);
        void __fastcall ComboBoxScreenSizeSelect(TObject *Sender);
        void __fastcall ComPortRxChar(TObject *Sender, int Count);
        void __fastcall ScrollBarAccelerometerChange(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TFormRemoteControl(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormRemoteControl *FormRemoteControl;
//---------------------------------------------------------------------------
#endif
